/**
 * Created by zhangligang
 * Email: tzhang2450@163.com
 * Date: 2018/8/25
 * Time: 09:13
 */
$(function(){
    $.get('/v1/contract/template.json', {contract_id:contract_id}, function(e){
        var json = JSON.parse(e);
        var template = json.body.data;
        $('.template-name').text(template.name);
        $('.template-created-at').text(template.created_at);
        $('.template-desc').html(template.desc);
    });
});